package com.example.domain.many2one;

import com.example.domain.base.BasePerson;
import com.example.domain.one2many.Husband;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
@DatabaseTable(tableName="wife")
public class Wife extends BasePerson {
	@DatabaseField(foreign = true, foreignAutoRefresh = true,columnName="husband_id")
	private Husband husband;

	public Husband getHusband() {
		return husband;
	}

	public void setHusband(Husband husband) {
		this.husband = husband;
	}
	
}
